package com.ruibang.glass.produce.domain.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: songJinKang
 * @CreateTime: 2023-11-20  10:34
 * @Description: TODO
 * @Version: 1.0
 */
@Data
public class Monitor implements Serializable {
    @ApiModelProperty("监测点id")
    private String monitorId;
    @ApiModelProperty("监测点名称")
    private String monitorName;
    @ApiModelProperty("监测点单位")
    private String unit;
    @ApiModelProperty("监测点code")
    private String monitorCode;
    @ApiModelProperty("设备id")
    private String deviceId;
    @ApiModelProperty("设备名称")
    private String deviceName;
    @ApiModelProperty("厂房id")
    private String workshopId;
    @ApiModelProperty("厂房名称")
    private String workshopName;
    @ApiModelProperty("产线id")
    private String productLineId;
    @ApiModelProperty("产线名称")
    private String productLineName;
    @ApiModelProperty("工序id")
    private String areaId;
    @ApiModelProperty("工序名称")
    private String areaName;
    @ApiModelProperty("值")
    private Double value;
    @ApiModelProperty("采集时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime collectTime;
}
